#include<bits/stdc++.h>
using namespace std;
int n,ans;
int a[100005],flag[100005];
int main()
{
    std::ios::sync_with_stdio(false);
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    cin>>n;
    ans=n;
    for(int i=1;i<=n;i++){
       cin>>a[i];
       flag[i]=1;
    }
    sort(a+1,a+n+1);
    for(int i=1;i<=n;i++){
        for(int j=i;j<=n;j++) if(a[j]>a[i]&&flag[j]==1){
            flag[j]=0;
            ans--;
            break;
        }
    }
    cout<<ans;
    return 0;
}
